package com.summer.bilibili.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.summer.bilibili.domain.article.Article;
import com.summer.bilibili.domain.base.UserBaseEntity;
import com.summer.bilibili.domain.user.UserPublish;
import com.summer.bilibili.domain.user.UserRate;
import com.summer.bilibili.domain.video.Video;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 评论目标
 */
@RequiredArgsConstructor
@Getter
@Deprecated
public enum CommentTarget {
    VIDEO(1, "视频", Video.class),
    PUBLISH(2, "说说", UserPublish.class),
    RATE(3, "点评", UserRate.class),
    ARTICLE(4, "文章", Article.class);

    @EnumValue
    private final int code;

    private final String label;

    private final Class<? extends UserBaseEntity > modelClass;
}
